package pure.engine.status.motion 
{
	import flash.events.Event;
	import pure.engine.status.Status;
	import pure.engine.entity.Entity;
	
	/**
	 * 转向行为
	 */
public class VeerMotion extends Status 
{
	public function VeerMotion() {
		
	}


	
	override public function onTick(elapseT:Number):void {
		/*if (_owner.angle > 337.5||_owner.angle <= 22.5) {
			_owner.body.play('up');
		}
		else if (_owner.angle > 22.5 && _owner.angle <= 67.5) {
			_owner.body.play('rightUp');
		}
		else if (_owner.angle > 67.5 && _owner.angle <= 112.5) {
			_owner.body.play('right');
		}
		else if (_owner.angle > 112.5 && _owner.angle <= 157.5) {
			_owner.body.play('rightDown');
		}
		else if (_owner.angle > 157.5 && _owner.angle <= 202.5) {
			_owner.body.play('down');
		}
		else if (_owner.angle > 202.5 && _owner.angle <= 247.5) {
			_owner.body.play('leftDown');
		}
		else if (_owner.angle > 247.5 && _owner.angle <= 292.5) {
			_owner.body.play('left');
		}
		else if (_owner.angle > 292.5 && _owner.angle <= 337.5) {
			_owner.body.play('leftUp');
		}*/
	}

}

}